﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.Site
{
    public class AnnouncementModel
    {
        [Key]
        [Required]
        [DataType(DataType.Text)]
        public string ID { get; set; }

        [Required]
        [DataType(DataType.DateTime)]
        [Display(Name = "时间")]
        public DateTime AnnouncementDate { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "发布人")]
        public string AnnouncementPublisher { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "标题")]
        public string AnnouncementTitle { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "关键字")]
        public string AnnouncementKeyWord { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "内容")]
        public string AnnouncementContent { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "是否可见")]
        public bool IsShow { get; set; }
    }
}
